<%@ Page Language="C#" AutoEventWireup="true" CodeFile="appmenu.aspx.cs" Inherits="Menu_appmenu" %>
<%@ Register TagPrefix="Flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
<html>
	<head runat="server">
		<link href="../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />
		<link href="../Menu/menu.css" rel="stylesheet" type="text/css" />
		<script language="javascript" src="menu.js"></script>
	</head>

<body class="nopad">
<form id="form1" runat="server">
<asp:Repeater runat="server" ID="menugrouplist" OnItemDataBound="GroupItemDataBound" OnItemCommand="GroupItemCommand">
	<ItemTemplate>
		<Flux:CollapseSection ID="csection" autopostback="true" runat="server" Title='<%#DataBinder.Eval(Container.DataItem, "Title")%>'>
			<asp:Repeater Runat="server" ID="menuoptionslist">
			<ItemTemplate>
				<div class="menuoption" onmouseover="MenuOver(this);" onmouseout="MenuOut(this);" 
					 onclick="ClickMenu('Link<%#NextID()%>');">
					<a id="Link<%#IncID()%>"
					   href="<%#DataBinder.Eval(Container.DataItem, "NavigateUrl")%>" 
					   target="<%#DataBinder.Eval(Container.DataItem, "Target")%>">
					<%#DataBinder.Eval(Container.DataItem, "Text")%>
					</a>
				</div>
			</ItemTemplate>
			</asp:Repeater>
		</Flux:CollapseSection>
	</ItemTemplate>
</asp:Repeater>
</form>
</body>
</html>
